<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
</head>
<base href="<%=basePath%>">
<script type="text/javascript" src="static/js/jquery-1.11.0.min.js"></script>
<link rel="stylesheet" href="reset_style/reset.css">
<link rel="stylesheet" href="static/css/login.css">
<script type="text/javascript" src="static/js/user_login.js"></script>

<body>
<%request.setCharacterEncoding("utf-8");%>
<!--设置背景-->
<div class="backgrounds" id="backgrounds">
<!--    设置表单-->
    <div class="content" id="div_position" style="background: rgba(150,150,150,0.5); border-radius: 25px;width:390px; height:250px;text-decoration: none;font-size:14px;">
        <div class="login_framework">

<!--                登录状态-->
                <div id="contents" class="contents">${message}</div>
            <form id="log_reg_form" method="post" name="loginForm"  action="/class_design/login.jhtml?method=user">
<%--                用户名密码输入部分--%>
                <div class="content2">
                <ul>
                    <li><input id="tid" name="name" type="text" class="text" value="您的邮箱账号/手机号"/><br /></li>
                </ul>
                <ul id="pwd_p">
                    <li><input type="text" name="password" id="pwd" class="text"
                               value="您的密码" /></li>
                </ul>
<!--                验证码-->
                <ul id="identfy_all">
                    <li>
						<span class="identifying">
							<img src="code.jhtml" width="120px" height="40px"
                                   onclick="javascript:this.src='code.jhtml?id='+new Date().getMilliseconds()">
								</span>
                        <input type="text" name="code" id="ident" class="text identify" value="验证码" />
                    </li>
                </ul>
                <span class="rem_password"> <a href="#" class="texts">&nbsp;</a>
						</span> <input class="login_button" id="button" value="登  录"
                                       type="button"/>
                </div>
            </form>

            <div class="regist" id="regesits">
                <span class="texts cursors"><a href="/class_design/user/user_register.jsp">马上注册</a></span>
                <span class="texts cursors"><a href="login.jsp">管理员登录</a></span>
        </div>
        </div>
    </div>
</div>
</body>

</html>